package com.example.environment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.environment.pojo.Feedback;
import com.example.environment.tools.common.ResultMsg;

import java.util.List;
import java.util.Map;

public interface FeedbackService extends IService<Feedback> {
    public ResultMsg saveById(Feedback feedback,String id);
    public ResultMsg getAllFeedbackBySupervisor(String id);
    public ResultMsg updateFeedbackById(Feedback feedback);
    public  List<Map<String, Object>> getAllFeedback();
    public  List<Map<String, Object>> getAllFeedbackByState(int state);
}
